package com.example.demo1;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication

@MapperScan("com.example.demo1.dao") // 指定mapper扫描路径，使得此包下的所有类都是mapper类，
// 并且不需要在这个包的类里面加mapper注解，那这些类也是mapper类了

public class Demo1Application {

	public static void main(String[] args) {
		SpringApplication.run(Demo1Application.class, args);
	}

}
